package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dto.WmMaterialDto;
import com.heima.model.media.pojos.WmMaterial;

public interface MaterialService extends IService<WmMaterial> {
       //素材列表查询
    ResponseResult findList(WmMaterialDto dto);

    //删除图片
    ResponseResult delPicture(Integer id);

    //收藏与取消收藏
    ResponseResult updateStatus(Integer id,Short type);
}
